package com.hqyj.mybatisplusdemo.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-10-20
 */
// 表名  db_abc    类名：DbAbc  采用了驼峰式命名---一致
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Db1 implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //@TableField(value="create_id")
    //private Integer createId1;
    //列名  create_id,    属性名 createId1

    private Integer createid;

    private String createname;

    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    private Integer updateid;

    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;


}
